package com.provider.controller;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HuangSuip
 */
@RestController
@RequestMapping("user")
public class UserController {
private Logger logger = Logger.getLogger(UserController.class);
    @GetMapping
    public String getUser(){
        logger.info("provider 1");
        System.out.println("provider 1");
        return "user";
    }
}
